﻿'use strict';

exports.schedule = {
    interval: 11113000,
    type: 'worker',
    immediate: true, //立即执行
};

exports.task = async function (ctx) {
    await ctx.service.dd.createToken()
    await ctx.service.dd.getUser()
    console.log('同步用户完成！')
};